package com.example.android.bluetoothchat.adapter;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/4/23 0023.
 */
public class RecordBean implements Serializable {
    public static final String DEF_TIME_SHOW = "----";
    
    public String username;// 用户名
    public String userid; // 用户id
    public String enterTime = DEF_TIME_SHOW;// 进入时间
    public String outTime = DEF_TIME_SHOW;// 离开时间
    public String cash = "0";// 车费
    
    @Override
    public boolean equals(Object obj) {
        if (obj instanceof RecordBean) {
            RecordBean bean = (RecordBean) obj;
            return this.userid.equals(bean.userid);
        }
        return super.equals(obj);
    }
}
